package com.example.demo.算法_test.graph;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: java_base
 * @description: 图中的节点
 * @author: zhouhongtao
 * @happyCreateTime: 2022/03/15 08:43
 */
public class Node {

    int value;
    int in;
    int out;
    List<Node> neighbors;
    List<Edge> edges;

    public Node(int v){
        this.value = v;
        in = 0;
        out = 0;
        neighbors = new ArrayList<>();
        edges = new ArrayList<>();
    }



}
